package com.windaka.elements.model.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;


/**
* AddSysUserDTO
* @author song xue
* @date 2023-05-23 06:04:36
**/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AddSysUserDTO {

    /**
     * user_name 登录账号
    **/
    @ApiModelProperty(value = "登录账号", required = true)
        private String userName;

    /**
     * password 登录密码
     **/
    @ApiModelProperty(value = "登录密码", required = true)
    private String password;

    /**
     * role_name 角色
     **/
    @ApiModelProperty(value = "角色", required = true)
    private Integer roleName;

    /**
     * real_name 用户名
    **/
    @ApiModelProperty(value = "用户名")
    private String realName;

    /**
     * communityList 小区列表
     **/
    @ApiModelProperty(value = "小区列表", required = true)
    private List<String> communityList;

    /**
     * phone 手机号
    **/
    @ApiModelProperty(value = "手机号")
    private String phone;

    /**
     * police_num 警号
    **/
    @ApiModelProperty(value = "警号")
    private String policeNum;

    /**
     * dept_id 部门id
     **/
    @ApiModelProperty(value = "部门id")
    private Integer deptId;

    /**
     * user_status 账号状态 1:正常 2:禁用
    **/
    @ApiModelProperty(value = "账号状态 1:正常 0:禁用", required = true)
    private Integer userStatus;

    /**
     * faceImage 头像文件
     **/
    @ApiModelProperty(value = "头像文件")
    private MultipartFile faceImage;


}
